package com.atguigu.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName Catelog2VO 二级分类
 * @Description TODO
 * @Author 13290
 * @Date 2022/9/20 17:45
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Catelog2VO {

    private String catalog1Id; //一级夫分类id
    private List<Catelog3VO> catalog3List; //三级子分类
    private String id;
    private String name;

    /**
     * @author
     * @Description 三级分类VO
     *
     **/
    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class Catelog3VO{
        private String catalog2Id; //夫分类  二级分类id
        private String id;
        private String name;
    }
}
